package com.demo.kotlin.bean.base

import com.google.gson.annotations.SerializedName
import java.util.*

/**
 * 通用列表外层
 **/
class ListOutBean<T> {

    @SerializedName("current_page")
    var page = 0
    var totalCount = 0

    var list: List<T>? = null
        get() {
            if (field == null) field = ArrayList()
            return field
        }
}
